package io.iamting93.user.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author boting.guo
 * @date 2021/12/5 23:00
 */

public class Token {


	private int id;

	private String email;

	private String token;


	@JsonProperty("cratetime")
	private long createTime;

	public Token(int id, String email, String token, long createTime) {
		this.id = id;
		this.email = email;
		this.token = token;
		this.createTime = createTime;
	}

	public Token(String email, String token, long createTime) {
		this.email = email;
		this.token = token;
		this.createTime = createTime;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
}
